﻿@inherits BulldogCMS.Core.MVC.BulldogWebViewPage<dynamic>
              
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Full tree</h2>

<ul>
    @foreach (var node in Tree.Nodes)
    {
        <li>@node.Name</li>
    }
</ul>

<ul>
    @foreach (var subNode in Tree.GetNode("/Content/ComputerShop").Nodes)
    {
        <li>@subNode.Name</li>
    }
</ul>

